package com.lingyun.common.utils;

/**
 * Created by bai on 2016/5/19.
 */
public class RequestUserAgentUtil {

    public static boolean isMobileAgent(String userAgentStr) {
        userAgentStr = userAgentStr.toLowerCase();
        if (userAgentStr.contains("iphone") || userAgentStr.contains("android")) {
            return true;
        }
        return false;
    }
}
